翻訳と辞書
Words near each other
・ Two Friends (2015 film)
・ Two Friends (ship)
・ Two Frogs
・ Two from Galilee
・ Two from Galilee (disambiguation)
・ Two from the Vault
・ Two from the Vault (series)
・ Two Funny – Die Sketch Comedy
・ Two Futures Project
・ Two Gaits Farm (Carmel, Indiana)
・ Two Gallants
・ Two Gallants (album)
・ Two Gallants (band)
・ Two Gallants (short story)
・ Two Gals and a Guy
Two Generals' Problem
・ Two Generations of Brubeck
・ Two Gentlemen
・ Two Gentlemen of Verona (musical)
・ Two Gentlemen Sharing
・ Two Girls and a Guy
・ Two Girls and a Sailor
・ Two Girls Dressing a Kitten by Candlelight
・ Two Girls on Broadway
・ Two Gophers from Texas
・ Two Graduated Jiggers
・ Two Graves
・ Two Great Guitars
・ Two Great Sheep
・ Two Greedy Italians


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Two Generals' Problem : ウィキペディア英語版
Two Generals' Problem
In computing, the Two Generals Problem, is a thought experiment meant to illustrate the pitfalls and design challenges of attempting to coordinate an action by communicating over an unreliable link. It is related to the more general Byzantine Generals Problem (though published long before that later generalization) and appears often in introductory classes about computer networking (particularly with regard to the Transmission Control Protocol), though it can also apply to other types of communication. A key concept in epistemic logic, this problem highlights the importance of common knowledge. Some authors also refer to this as the Two Generals Paradox, the Two Armies Problem, or the Coordinated Attack Problem.〔(The coordinated attack and the jealous amazons ) Alessandro Panconesi. Retrieved 2011-05-17.〕
==Definition==
Two armies, each led by a general, are preparing to attack a fortified city. The armies are encamped near the city, each on its own hill. A valley separates the two hills, and the only way for the two generals to communicate is by sending messengers through the valley. Unfortunately, the valley is occupied by the city's defenders and there's a chance that any given messenger sent through the valley will be captured.
While the two generals have agreed that they will attack, they haven't agreed upon a time for attack. It is required that the two generals have their armies attack the city at the same time in order to succeed, else the lone attacker army will die trying. They must thus communicate with each other to decide on a time to attack and to agree to attack at that time, and each general must know that the other general knows that they have agreed to the attack plan. Because acknowledgement of message receipt can be lost as easily as the original message, a potentially infinite series of messages are required to come to consensus.
The thought experiment involves considering how they might go about coming to consensus. In its simplest form one general is known to be the leader, decides on the time of attack, and must communicate this time to the other general. The problem is to come up with algorithms that the generals can use, including sending messages and processing received messages, that can allow them to correctly conclude:
:Yes, we will both attack at the agreed-upon time.
Allowing that it is quite simple for the generals to come to an agreement on the time to attack (i.e. one successful message with a successful acknowledgement), the subtlety of the Two Generals' Problem is in the impossibility of designing algorithms for the generals to use to safely agree to the above statement.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Two Generals' Problem」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.